import request from '@/utils/request'

// 节假日去向列表
export function toSchoolList(query) {
    return request({
      url: '/daily/return/record/list',
      method: 'get',
      params: query
    })
}
  
// 节假日去向编辑
export function editToSchool(query) {
  return request({
    url: '/daily/return/record',
    method: 'put',
    data: query
  })
}

// 确认返校状态
export function confirmReturn(data) {
    return request({
      url: '/daily/return/record',
      method: 'put',
      data: data
    })
}